﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using CoreCommon;

namespace UnitTest
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestStrIsEmpty()
        {
            string s1 = "";
            string s2 = "3";
            string s3 = null;
            
            bool flag = Routins.StrIsEmpty(new string[]{s1, s2, s3});
            Assert.AreEqual(true, flag);
            
            string s4 = "1";
            string s5 = "3";
            flag = Routins.StrIsEmpty(new string[] { s4, s5 });
            Assert.AreEqual(false, flag);

        }
    }
}
